package net.hn.hnms.biz.project.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author 刘昊
 * @date 2024-03-14 14:01
 * 施工方案
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "construction_scheme", schema = "xmgl", catalog = "huaneng-manage")
public class ConstructionScheme extends BaseModel implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String schemeId;

    @ApiModelProperty(value = "文件名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String projectFileName;

    @ApiModelProperty(value = "文件路径")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String projectFilePath;

    @ApiModelProperty(value = "施工计划id")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String constructionId;

}
